package com.ruoyi.work.mapper;

import java.util.List;
import com.ruoyi.work.domain.WorkBillDetail;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
 * 工单详情Mapper接口
 * 
 * @author xwj
 * @date 2024-08-19
 */
@Mapper
public interface WorkBillDetailMapper extends BaseMapper<WorkBillDetail> {
    /**
     * 查询工单详情
     * 
     * @param id 工单详情主键
     * @return 工单详情
     */
    public WorkBillDetail selectWorkBillDetailById(Long id);

    /**
     * 查询工单详情列表
     * 
     * @param workBillDetail 工单详情
     * @return 工单详情集合
     */
    public List<WorkBillDetail> selectWorkBillDetailList(WorkBillDetail workBillDetail);


    /**
     * 删除工单详情
     * 
     * @param id 工单详情主键
     * @return 结果
     */
    public int deleteWorkBillDetailById(Long id);

    /**
     * 批量删除工单详情
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkBillDetailByIds(Long[] ids);

    void deleteWorkBillDetailByBillIds(Long[] ids);
}
